package com.lgl.scs.mobile.service;

import com.lgl.scsapi.base.dao.DaoSupport;
import com.lgl.scsapi.system.model.PageData;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 主页服务订单处理service
 */

@Service("mUserRateService")
public class MUserRateService {
	@Resource(name = "daoSupport")
	private DaoSupport dao;
	
	/**
	 * 获取订单相关的评论
	 * @param pd
	 * @return
	 */
	public List<PageData> listRateByOrder(PageData pd) {
		return (List<PageData>) dao.findForList("MUserRateMapper.listRateByOrder", pd);
	}
	
}